import request from '@/utils/request';

/**
 * 功能已遗弃
 */
const API = {
    // 图书馆预约记录
    LIBRARY_NOTE_URL: '/public/place/manager/sanction/list'
};

// 查询审核中的图书馆申请预约
export const reqLibraryNote = (pageNo, pageSize = 5) =>
    request.get(
        `${API.LIBRARY_NOTE_URL}?pageNo=${pageNo}&pageSize=${pageSize}&teamVerify=0&placeType=0&subscribeStatus=4`
    );

// 查询已处理的图书馆申请预约
export const reqLibraryNoteProcessed = (pageNo, pageSize = 5) =>
    request.get(
        `${API.LIBRARY_NOTE_URL}?pageNo=${pageNo}&pageSize=${pageSize}&teamVerify=3&placeType=0&subscribeStatus=4`
    );
